//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package objects;

import common.GlobalID;

public class ForestsEntry {
  private final String Name;
  private final String Tool;
  private final Integer ExpClear;
  private final Integer Instance;
  private final Integer TileWidth;
  private final Integer TileHeight;

  public ForestsEntry(String Name, String Tool, Integer ExpClear, Integer TileWidth, Integer TileHeight, Integer Instance) {
    this.Name = Name;
    this.Tool = Tool;
    this.ExpClear = ExpClear;
    this.TileWidth = TileWidth;
    this.TileHeight = TileHeight;
    this.Instance = Instance;
  }

  public String getName() {
    return this.Name;
  }

  public String getTool() {
    return this.Tool;
  }

  public Integer getInstance() {
    return this.Instance;
  }

  public Integer getExpClear() {
    return this.ExpClear;
  }

  public Integer getTileWidth() {
    return this.TileWidth;
  }

  public Integer getTileHeight() {
    return this.TileHeight;
  }

  public Integer getGlobalID() {
    return Integer.valueOf(GlobalID.create(5, this.Instance.intValue()));
  }

  public String toString() {
    return this.Name + "(" + this.getGlobalID() + "): Tool:" + this.Tool + ", ExpClear:" + this.ExpClear;
  }
}
